package com.ruoyi.control.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.control.domain.JhjsSix;
import com.ruoyi.control.domain.JhjsSixHistory;

/**
 * 406机巷局扇历史数据Mapper接口
 *
 * @author ruoyi
 * @date 2024-11-08
 */
public interface JhjsSixHistoryMapper extends BaseMapper<JhjsSixHistory> //修改
{
    /**
     * 查询406机巷局扇历史数据
     *
     * @param id 406机巷局扇历史数据主键
     * @return 406机巷局扇历史数据
     */
    public JhjsSixHistory selectJhjsSixHistoryById(String id);

    /**
     * 查询406机巷局扇历史数据列表
     *
     * @param jhjsSixHistory 406机巷局扇历史数据
     * @return 406机巷局扇历史数据集合
     */
    public List<JhjsSixHistory> selectJhjsSixHistoryList(JhjsSixHistory jhjsSixHistory);

    /**
     * 新增406机巷局扇历史数据
     *
     * @param jhjsSixHistory 406机巷局扇历史数据
     * @return 结果
     */
    public int insertJhjsSixHistory(JhjsSixHistory jhjsSixHistory);

    /**
     * 修改406机巷局扇历史数据
     *
     * @param jhjsSixHistory 406机巷局扇历史数据
     * @return 结果
     */
    public int updateJhjsSixHistory(JhjsSixHistory jhjsSixHistory);

    /**
     * 删除406机巷局扇历史数据
     *
     * @param id 406机巷局扇历史数据主键
     * @return 结果
     */
    public int deleteJhjsSixHistoryById(String id);

    /**
     * 批量删除406机巷局扇历史数据
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteJhjsSixHistoryByIds(String[] ids);

    void insertBatch(List<JhjsSix> jhjsSixList);
}
